<?php

namespace Acme\DemoBundle\Entity;

use Doctrine\ORM\Mapping as ORM;

/**
 * Hesocongviec
 *
 * @ORM\Table(name="hesocongviec")
 * @ORM\Entity
 */
class Hesocongviec
{
    /**
     * @var integer
     *
     * @ORM\Column(name="id", type="bigint", nullable=false)
     * @ORM\Id
     * @ORM\GeneratedValue(strategy="IDENTITY")
     */
    private $id;

    /**
     * @var \DateTime
     *
     * @ORM\Column(name="ngayquyetdinh", type="datetime", nullable=true)
     */
    private $ngayquyetdinh;

    /**
     * @var float
     *
     * @ORM\Column(name="heso", type="float", nullable=true)
     */
    private $heso;

    /**
     * @var \DateTime
     *
     * @ORM\Column(name="created", type="datetime", nullable=true)
     */
    private $created;

    /**
     * @var \DateTime
     *
     * @ORM\Column(name="updated", type="datetime", nullable=true)
     */
    private $updated;

    /**
     * @var \DateTime
     *
     * @ORM\Column(name="deleted", type="datetime", nullable=true)
     */
    private $deleted;

    /**
     * @var \Nhanvien
     *
     * @ORM\ManyToOne(targetEntity="Nhanvien")
     * @ORM\JoinColumns({
     *   @ORM\JoinColumn(name="nhanvienid", referencedColumnName="id")
     * })
     */
    private $nhanvienid;



    /**
     * Get id
     *
     * @return integer 
     */
    public function getId()
    {
        return $this->id;
    }

    /**
     * Set ngayquyetdinh
     *
     * @param \DateTime $ngayquyetdinh
     * @return Hesocongviec
     */
    public function setNgayquyetdinh($ngayquyetdinh)
    {
        $this->ngayquyetdinh = $ngayquyetdinh;
    
        return $this;
    }

    /**
     * Get ngayquyetdinh
     *
     * @return \DateTime 
     */
    public function getNgayquyetdinh()
    {
        return $this->ngayquyetdinh;
    }

    /**
     * Set heso
     *
     * @param float $heso
     * @return Hesocongviec
     */
    public function setHeso($heso)
    {
        $this->heso = $heso;
    
        return $this;
    }

    /**
     * Get heso
     *
     * @return float 
     */
    public function getHeso()
    {
        return $this->heso;
    }

    /**
     * Set created
     *
     * @param \DateTime $created
     * @return Hesocongviec
     */
    public function setCreated($created)
    {
        $this->created = $created;
    
        return $this;
    }

    /**
     * Get created
     *
     * @return \DateTime 
     */
    public function getCreated()
    {
        return $this->created;
    }

    /**
     * Set updated
     *
     * @param \DateTime $updated
     * @return Hesocongviec
     */
    public function setUpdated($updated)
    {
        $this->updated = $updated;
    
        return $this;
    }

    /**
     * Get updated
     *
     * @return \DateTime 
     */
    public function getUpdated()
    {
        return $this->updated;
    }

    /**
     * Set deleted
     *
     * @param \DateTime $deleted
     * @return Hesocongviec
     */
    public function setDeleted($deleted)
    {
        $this->deleted = $deleted;
    
        return $this;
    }

    /**
     * Get deleted
     *
     * @return \DateTime 
     */
    public function getDeleted()
    {
        return $this->deleted;
    }

    /**
     * Set nhanvienid
     *
     * @param \Acme\DemoBundle\Entity\Nhanvien $nhanvienid
     * @return Hesocongviec
     */
    public function setNhanvienid(\Acme\DemoBundle\Entity\Nhanvien $nhanvienid = null)
    {
        $this->nhanvienid = $nhanvienid;
    
        return $this;
    }

    /**
     * Get nhanvienid
     *
     * @return \Acme\DemoBundle\Entity\Nhanvien 
     */
    public function getNhanvienid()
    {
        return $this->nhanvienid;
    }
}